[tinyxml2] Update to 8.0.0; avoid exporting symbols when building static libraries#11616
Conversation
c8f29bc to
89ace06
Compare
|
@orudge |
From what I can tell, this doesn't seem to be a regression (at least, not caused by my changes). Using a clean clone of Microsoft/vcpkg, with existing tinyxml2, I get the same error: It looks like the ignition-msgs5 port is looking for a non-existent vcpkg/packages/tinyxml2_x64-osx/debug/include folder - no other packages have a debug/include folder though, and I'm not quite sure where this is coming from for tinyxml2. Unfortunately I don't think this is something I have the time (or necessarily expertise) to debug further. |
|
I think that at some point the CI machine has been modified to contain also the |
|
Thanks, that helps - the change I've pushed should fix #10039 too (via a patch). |
fd99a55 to
4dc579b
Compare
|
Just need to rerun this PR once the regressions are fixed in this PR #11742. |
|
@orudge |
4dc579b to
7e4a581
Compare
Most of these seem to be unrelated issues, primarily download errors or out of disk space (llvm). I can't find any issues relating to tinyxml2. I've rebased and pushed the changes again and it looks like the tests have failed again with a download error for a port. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Thanks for the PR! |
…tic libraries (microsoft#11616) * [tinyxml2] Update to 8.0.0; avoid exporting symbols when building static libraries * [tinyxml2] Clean up files
…tic libraries (microsoft#11616) * [tinyxml2] Update to 8.0.0; avoid exporting symbols when building static libraries * [tinyxml2] Clean up files
This PR updates tinyxml2 to version 8.0.0. It also adds a patch to prevent symbols being exported from DLLs/EXEs linked with the static version of the library. (This patch has been submitted to leethomason/tinyxml2#820 and hopefully will make it into the next release, so should only be temporary in vcpkg.)
I've tested builds of x86-windows, x86-windows-static, x64-windows, x64-windows-static, arm64-windows, arm64-windows-static. Symbols are still exported from the -windows DLLs correctly, and linked output of -windows-static no longer includes tinyxml2 symbols. Also tested x64-linux which looks to be fine.